{extend name='public/layer_base' /}
{block name='content'}
<style>
    .info-box {
        height: 90px;
        padding: 15px;
        text-align: center;
    }

    .info-box-icon {
        font-size: 45px;
        height: 100%;
        padding: 15px;
    }

    .info-box-text {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .info-box-number {
        display: block;
        font-weight: bold;
        font-size: 18px;
        cursor: pointer;
    }

    .card {
        margin: 0 1%;
    }
</style>
<div class="layui-fluid">
    <div class="layui-row">
        <div class="layui-col-md3 layui-col-sm6 layui-col-xs12 card">
            <div class="layui-card">

                <div class="info-box">
                    <span class="info-box-icon layui-bg-green layui-col-md4 layui-col-sm6 "><i
                            class="fa fa-file-code-o"></i></span>
                    <div class="info-box-content">
                        <span class="info-box-text">代码自动生成</span>
                        <a  href="{:url('generate/add')}"  class="info-box-number">点击跳转</a>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-col-md3 layui-col-sm6 layui-col-xs12 card">
            <div class="layui-card">
                <div class="info-box">
                    <span class="info-box-icon layui-bg-red layui-col-md4 layui-col-sm6"><i
                            class="fa fa-code"></i></span>
                    <div class="info-box-content">
                        <span class="info-box-text">表单字段生成</span>
                        <a onclick=xadmin.open('表单字段生成','{:url('generate/form')}') class="info-box-number">点击跳转</a>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>
{/block}